﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
  <title>{$server_name}</title>
  <meta name="description" content="website description" />
  <meta name="keywords" content="website keywords, website keywords" />
  <meta http-equiv="content-type" content="text/html" />
  <link href="{$template_path}/css/bootstrap.css" rel="stylesheet">
    <link href="{$template_path}/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="{$template_path}/css/style-custom.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="{$template_path}/style/style.css" />
    <script src="{$template_path}/js/modernizr-2.5.3.min.js"></script>
    <script src="{$template_path}/js/jquery-1.7.1.min.js"></script>
    <script src="{$template_path}/js/bootstrap.min.js"></script>
    <script src="{$template_path}/js/jquery.validate.min.js">
    <script src="{$template_path}/js/script.js"></script>
     <script>

    (function ($) {

  $(function(){

    // fix sub nav on scroll
    var $win = $(window),
        $nav = $('.navbar'),
        navHeight = $('.navbar').first().height(),
        subnavHeight = $('.navbar').first().height(),
        subnavTop = $('.navbar').length && $('.navbar').offset().top - navHeight,
        isFixed = 0;

    processScroll();

    $win.on('scroll', processScroll);

    function processScroll() {
      var i, scrollTop = $win.scrollTop();

      if (scrollTop >= subnavTop && !isFixed) {
        isFixed = 1;
        $nav.addClass('navbar-fixed-top');
        $nav.css('width', '100%');
        $nav.css('margin-left', '0');
      } else if (scrollTop <= subnavTop && isFixed) {
        isFixed = 0;
        $nav.removeClass('navbar-fixed-top');
        $nav.css('max-width', '98%');
        $nav.css('margin-left', '70px');
      }
    }

  });

})(window.jQuery);
    jQuery(document).ready(function($){
  
  $('.meter > span').each(function() {
    
    var totalWidth = $(this).parent().width();
    
    var barWidth = $(this).width();
    
    var percent = barWidth/totalWidth * 100;

    $(this).data('origWidth', $(this).width()).width(0).animate({
      width: $(this).data('origWidth')
    }, 1200, function(){
      $(this).css('width', percent + '%');
    });

    
  });
});
      // Activate Google Prettify in this page
        addEventListener('load', prettyPrint, false);

      $(document).ready(function(){

        // Add prettyprint class to pre elements
          $('pre').addClass('prettyprint linenums');

      });
      $('#example').tooltip(options)
   
    </script>
    <script type="text/javascript">

      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-22151549-3']);
      _gaq.push(['_trackPageview']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
$(function () {
    
    // FAQs
    var $faqs = $("#faq .faq");
    $faqs.click(function () {
        var $answer = $(this).find(".answer");
        $answer.slideToggle('fast');
    });

    if (!$.support.leadingWhitespace) {
        //IE7 and 8 stuff
        $("body").addClass("old-ie");
    }
});    </script>   

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
    <![endif]-->
</head>

<body>
  <div id="main">
    <div id="links"></div>
    <div id="header">
      <div id="logo">
        <div id="logo_text">
          <h1>tree<span class="alternate_colour">_tops</span></h1>
        </div>
      </div>
      <div id="menubar">
        <ul id="menu">
          <!-- put class="tab_selected" in the li tag for the selected page - to highlight which page you're on -->
          <li class="tab_selected"><a href="index.html">Home</a></li>
          <li><a href="our_services.html">Our Services</a></li>
          <li><a href="about_us.html">About Us</a></li>
          <li><a href="styles.html">Styles</a></li>
          <li><a href="contact.html">Contact Us</a></li>
        </ul>
      </div>
    </div>
    <div id="site_content">
      <div id="panel"><img src="{$template_path}/style/panel.jpg" alt="tree tops" /></div>
      <div class="sidebar ">
        <!-- insert your sidebar items here -->
          <form class="form" method="POST">
            
            <input type="hidden" name="{$get_csrf_token_name}" value="{$get_csrf_hash}" >
            
          <div class="control-group">
            <label class="control-label" for="inputEmail">Email</label>
            <div class="controls">
              <input type="text" id="inputEmail" placeholder="Email">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="inputPassword">Senha</label>
            <div class="controls">
              <input type="password" id="inputPassword" placeholder="Senha">
            </div>
          </div>
          <div class="control-group">
            <div class="controls">            
              <button type="submit" class="btn">Entrar</button>
            </div>
          </div>
        </form>
        {if $menuLeft and $menuCategorias}
          {foreach from=$menuCategorias key=menu_categoria item=menu_array}
            {foreach from=$menu_array key=menu_sub_categoria item=menu_sub_array}
                    {$menu_sub_array['categoria']}
                    <ul>
                      {foreach from=$menuLeft key=menu item=menu_array}
                      {if $menu == {$menu_sub_categoria}}

                             {foreach from=$menu_array item=menu_subarray}
                                <li><a href="{if !strstr({$menu_subarray['link_href']}, 'http://')} {$website_url}{$menu_subarray['link_href']} {else} {$menu_subarray['link_href']}{/if}">{$menu_subarray['link_title']}</a></li> 
                             {/foreach}
                      {/if}
                    {/foreach}
                   
                  </ul>
            {/foreach}
          {/foreach}
        {else}
          <div class="alert alert-error"><span style="font-weight: bold">Erro to load menu, check your configs.</b></span> </br></div>
        {/if}
      
        <h1>Useful Info</h1>
        <p>You can put anything you like in the sidebar. Latest news, useful links, images, contact information. Anything you think the visitor will find useful.</p>
      </div>
        <div class="content-all">
       {$content}
      </div>
    <div id="site_content_bottom"></div>
    </div>
    <div id="footer">Copyright &copy; Company Name. All Rights Reserved. | Página Gerada em <strong>{$renderTime}</strong></div>
  </div>
</body>
</html>